﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;

namespace W.Warehouse.Domain.AllocationProduct
{
    /// <summary>
    /// 调拨产品管理
    /// </summary>
    public class AllocationProductInfo: BaseModel
    {
        /// <summary>
        /// 调拨产品id
        /// </summary>
        [Key]
        public int AllocationProductId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? ProductBatch { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? ProductPrice { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? Quantity { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string? BinLocationName { get; set; }
        /// <summary>
        /// 调拨仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? officeId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? userid { get; set; }
        /// <summary>
        /// 调拨id
        /// </summary>
        public int? AllocationId { get; set; }
    }
}
